Running R in Biowulf

Running R on Biowulf

  1. To run R on Biowulf, you have to log-in using VPN with Cisco AnyConnect Secure Mobility Client. Click Connect button and follow the instructions.

    Running%20RStudio%20on%20Biowulf%20with%20NoMachine%201c3f50b6cab64afa942e533180a80276/vpn.png

  2. Enter your authentication.

  3. At the terminal window, type ssh -Y user_name@biowulf.nih.gov. Substitute user_name with your login user name. You can find your user_name by typing whoami in the terminal window.

    Running%20R%20in%20Biowulf%2001ce1c3ca89a468098ea3c95038fd594/Untitled.png

  4. On success you will be prompted to enter your password as shown below:

    Running%20R%20in%20Biowulf%2001ce1c3ca89a468098ea3c95038fd594/Untitled%201.png

  5. At the prompt, type command hostname to verify you are on the Biowulf login node. The login node is a computer where jobs are submitted (not described here). If you want to interactively run an application such as R, you need to request a compute node with the command sinteractive. On success, it will look like the graphic below.

    Running%20R%20in%20Biowulf%2001ce1c3ca89a468098ea3c95038fd594/Untitled%202.png

  6. With success, you can confirm you have a compute node with the command hostname. You will get a node name cn3103. The node number 3103 will likely be different.

    Running%20R%20in%20Biowulf%2001ce1c3ca89a468098ea3c95038fd594/Untitled%203.png

  7. You can see the available R versions with the command module -r avail '^R$'.

    Running%20R%20in%20Biowulf%2001ce1c3ca89a468098ea3c95038fd594/Untitled%204.png

  8. Finally you select the version with the command module load R/4.0.0

    Running%20R%20in%20Biowulf%2001ce1c3ca89a468098ea3c95038fd594/Untitled%205.png

  9. Then typeR at the prompt to launch R.

    Running%20R%20in%20Biowulf%2001ce1c3ca89a468098ea3c95038fd594/Untitled%206.png